package com.example.demo.mapper;

import com.example.demo.model.vo.ArticleInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * Description:
 */
@Mapper
public interface ArticleInfoMapper {

    // 根据文章 id 查询对应用户的用户名和文章信息
    // 返回值必须是 ArticleInfoVO
    ArticleInfoVO getById(@Param("id") Integer id);
}
